Code
import pandas as pd
cities = pd.read_csv('../data/cleaned_data/apta_cities_cleaned.csv')
cities = cities.drop(columns=['Unnamed: 0'])
cities.head()Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
| City | Population | Area | Cost_per_trip | Fare_per_trip | Miles_per_trip | |
|---|---|---|---|---|---|---|
| 0 | Seattle--Tacoma, WA | 3544011 | 982.52 | 13.906032 | 1.570667 | 5.786344 |
| 1 | Spokane, WA | 447279 | 171.67 | 13.433827 | 0.988308 | 4.772569 |
| 2 | Yakima, WA | 133145 | 55.77 | 19.720093 | 1.112531 | 5.179168 |
| 3 | Eugene, OR | 270179 | 73.49 | 10.851494 | 2.753356 | 3.684118 |
| 4 | Portland, OR--WA | 2104238 | 519.30 | 10.804361 | 1.025659 | 4.011388 |